package ru.kruzhki.server.guice;

import ru.kruzhki.server.command.AddCompanyActionHandler;
import ru.kruzhki.server.command.SearchCompanyActionHandler;
import ru.kruzhki.shared.command.AddCompanyRequest;
import ru.kruzhki.shared.command.SearchCompanyRequest;

import com.gwtplatform.dispatch.server.guice.HandlerModule;

public class ActionHandlerModule extends HandlerModule {

	@Override
	protected void configureHandlers() {
		bindHandler(AddCompanyRequest.class, AddCompanyActionHandler.class);
		bindHandler(SearchCompanyRequest.class, SearchCompanyActionHandler.class);
	}
}
